/*

Author   : chaos

FileName : new_delete.cpp

Date     : 08/08/17 16:07:33

*/
#include <iostream>
using namespace std;

int main(void)
{
    int *ptr = new int (20);

    cout <<"name\t| address\t| value" << endl;
    cout << "--------------------------------------------" << endl;

    cout << "ptr\t|" << ptr << "\t|" << *ptr << endl;

    delete ptr;

    return 0;
}
